1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 package com.sun.imageio.plugins.png;
27
28 import java.util.ListResourceBundle;
29
30 public class PNGMetadataFormatResources extends ListResourceBundle {
31
32 public PNGMetadataFormatResources() {}
33
34 protected Object[][] getContents() {
35 return new Object[][] {
36
37
38 { "IHDR", "The IHDR chunk, containing the header" },
39 { "PLTE", "The PLTE chunk, containing the palette" },
40 { "PLTEEntry", "A palette entry" },
41 { "bKGD", "The bKGD chunk, containing the background color" },
42 { "bKGD_RGB", "An RGB background color, for RGB and RGBAlpha images" },
43 { "bKGD_Grayscale",
44 "A grayscale background color, for Gray and GrayAlpha images" },
45 { "bKGD_Palette", "A background palette index" },
46 { "cHRM", "The cHRM chunk, containing color calibration" },
47 { "gAMA", "The gAMA chunk, containing the image gamma" },
48 { "hIST", "The hIST chunk, containing histogram information " },
49 { "hISTEntry", "A histogram entry" },
50 { "iCCP", "The iCCP chunk, containing an ICC color profile" },
51 { "iTXt", "The iTXt chunk, containing internationalized text" },
52 { "iTXtEntry", "A localized text entry" },
53 { "pHYS",
54 "The pHYS chunk, containing the pixel size and aspect ratio" },
55 { "sBIT", "The sBIT chunk, containing significant bit information" },
56 { "sBIT_Grayscale", "Significant bit information for gray samples" },
57 { "sBIT_GrayAlpha",
58 "Significant bit information for gray and alpha samples" },
59 { "sBIT_RGB", "Significant bit information for RGB samples" },
60 { "sBIT_RGBAlpha", "Significant bit information for RGBA samples" },
61 { "sBIT_Palette",
62 "Significant bit information for RGB palette entries" },
63 { "sPLT", "The sPLT chunk, containing a suggested palette" },
64 { "sPLTEntry", "A suggested palette entry" },
65 { "sRGB", "The sRGB chunk, containing rendering intent information" },
66 { "tEXt", "The tEXt chunk, containing text" },
67 { "tEXtEntry", "A text entry" },
68 { "tIME", "The tIME chunk, containing the image modification time" },
69 { "tRNS", "The tRNS chunk, containing transparency information" },
70 { "tRNS_Grayscale",
71 "A grayscale value that should be considered transparent" },
72 { "tRNS_RGB",
73 "An RGB value that should be considered transparent" },
74 { "tRNS_Palette",
75 "A palette index that should be considered transparent" },
76 { "zTXt", "The zTXt chunk, containing compressed text" },
77 { "zTXtEntry", "A compressed text entry" },
78 { "UnknownChunks", "A set of unknown chunks" },
79 { "UnknownChunk", "Unknown chunk data stored as a byte array" },
80
81
82 { "IHDR/width", "The width of the image in pixels" },
83 { "IHDR/height", "The height of the image in pixels" },
84 { "IHDR/bitDepth", "The bit depth of the image samples" },
85 { "IHDR/colorType", "The color type of the image" },
86 { "IHDR/compressionMethod",
87 "The compression used for image data, always \"deflate\"" },
88 { "IHDR/filterMethod",
89 "The filtering method used for compression, always \"adaptive\"" },
90 { "IHDR/interlaceMethod",
91 "The interlacing method, \"none\" or \"adam7\"" },
92
93 { "PLTEEntry/index", "The index of a palette entry" },
94 { "PLTEEntry/red", "The red value of a palette entry" },
95 { "PLTEEntry/green", "The green value of a palette entry" },
96 { "PLTEEntry/blue", "The blue value of a palette entry" },
97
98 { "bKGD_Grayscale/gray", "A gray value to be used as a background" },
99 { "bKGD_RGB/red", "A red value to be used as a background" },
100 { "bKGD_RGB/green", "A green value to be used as a background" },
101 { "bKGD_RGB/blue", "A blue value to be used as a background" },
102 { "bKGD_Palette/index", "A palette index to be used as a background" },
103
104 { "cHRM/whitePointX",
105 "The CIE x coordinate of the white point, multiplied by 1e5" },
106 { "cHRM/whitePointY",
107 "The CIE y coordinate of the white point, multiplied by 1e5" },
108 { "cHRM/redX",
109 "The CIE x coordinate of the red primary, multiplied by 1e5" },
110 { "cHRM/redY",
111 "The CIE y coordinate of the red primary, multiplied by 1e5" },
112 { "cHRM/greenX",
113 "The CIE x coordinate of the green primary, multiplied by 1e5" },
114 { "cHRM/greenY",
115 "The CIE y coordinate of the green primary, multiplied by 1e5" },
116 { "cHRM/blueX",
117 "The CIE x coordinate of the blue primary, multiplied by 1e5" },
118 { "cHRM/blueY",
119 "The CIE y coordinate of the blue primary, multiplied by 1e5" },
120
121 { "gAMA/value",
122 "The image gamma, multiplied by 1e5" },
123
124 { "hISTEntry/index", "The palette index of this histogram entry" },
125 { "hISTEntry/value", "The frequency of this histogram entry" },
126
127 { "iCCP/profileName", "The name of this ICC profile" },
128 { "iCCP/compressionMethod",
129 "The compression method used to store this ICC profile" },
130
131 { "iTXtEntry/keyword", "The keyword" },
132 { "iTXtEntry/compressionMethod",
133 "The compression method used to store this iTXt entry" },
134 { "iTXtEntry/languageTag",
135 "The ISO tag describing the language this iTXt entry" },
136 { "iTXtEntry/translatedKeyword",
137 "The translated keyword for iTXt entry" },
138 { "iTXtEntry/text",
139 "The localized text" },
140
141 { "pHYS/pixelsPerUnitXAxis",
142 "The number of horizontal pixels per unit, multiplied by 1e5" },
143 { "pHYS/pixelsPerUnitYAxis",
144 "The number of vertical pixels per unit, multiplied by 1e5" },
145 { "pHYS/unitSpecifier",
146 "The unit specifier for this chunk (i.e., meters)" },
147
148 { "sBIT_Grayscale/gray",
149 "The number of significant bits of the gray samples" },
150 { "sBIT_GrayAlpha/gray",
151 "The number of significant bits of the gray samples" },
152 { "sBIT_GrayAlpha/alpha",
153 "The number of significant bits of the alpha samples" },
154 { "sBIT_RGB/red",
155 "The number of significant bits of the red samples" },
156 { "sBIT_RGB/green",
157 "The number of significant bits of the green samples" },
158 { "sBIT_RGB/blue",
159 "The number of significant bits of the blue samples" },
160 { "sBIT_RGBAlpha/red",
161 "The number of significant bits of the red samples" },
162 { "sBIT_RGBAlpha/green",
163 "The number of significant bits of the green samples" },
164 { "sBIT_RGBAlpha/blue",
165 "The number of significant bits of the blue samples" },
166 { "sBIT_RGBAlpha/alpha",
167 "The number of significant bits of the alpha samples" },
168 { "sBIT_Palette/red",
169 "The number of significant bits of the red palette entries" },
170 { "sBIT_Palette/green",
171 "The number of significant bits of the green palette entries" },
172 { "sBIT_Palette/blue",
173 "The number of significant bits of the blue palette entries" },
174
175 { "sPLTEntry/index", "The index of a suggested palette entry" },
176 { "sPLTEntry/red", "The red value of a suggested palette entry" },
177 { "sPLTEntry/green", "The green value of a suggested palette entry" },
178 { "sPLTEntry/blue", "The blue value of a suggested palette entry" },
179 { "sPLTEntry/alpha", "The blue value of a suggested palette entry" },
180
181 { "sRGB/renderingIntent", "The rendering intent" },
182
183 { "tEXtEntry/keyword", "The keyword" },
184 { "tEXtEntry/value", "The text" },
185
186 { "tIME/year", "The year when the image was last modified" },
187 { "tIME/month",
188 "The month when the image was last modified, 1 = January" },
189 { "tIME/day",
190 "The day of the month when the image was last modified" },
191 { "tIME/hour",
192 "The hour when the image was last modified" },
193 { "tIME/minute",
194 "The minute when the image was last modified" },
195 { "tIME/second",
196 "The second when the image was last modified, 60 = leap second" },
197
198 { "tRNS_Grayscale/gray",
199 "The gray value to be considered transparent" },
200 { "tRNS_RGB/red",
201 "The red value to be considered transparent" },
202 { "tRNS_RGB/green",
203 "The green value to be considered transparent" },
204 { "tRNS_RGB/blue",
205 "The blure value to be considered transparent" },
206 { "tRNS_Palette/index",
207 "A palette index to be considered transparent" },
208 { "tRNS_Palette/alpha",
209 "The transparency associated with the palette entry" },
210
211 { "zTXtEntry/keyword", "The keyword" },
212 { "zTXtEntry/compressionMethod", "The compression method" },
213 { "zTXtEntry/text", "The compressed text" },
214
215 { "UnknownChunk/type", "The 4-character type of the unknown chunk" }
216
217 };
218 }
219 }